package net.sky.oa.service.talkpark.impl;

import java.util.List;

import javax.annotation.Resource;

import net.sky.oa.dao.talkpark.TalVoteoptionsDao;
import net.sky.oa.model.TalVoteoptions;
import net.sky.oa.service.talkpark.TalVoteoptionsService;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class TalVoteoptionsServiceImpl extends BaseServiceImpl<TalVoteoptions> implements TalVoteoptionsService {
    
	
	private TalVoteoptionsDao talVoteoptionsdao;
	
	@Resource
	public void setDao(TalVoteoptionsDao talVoteoptionsdao){
		super.setDao(talVoteoptionsdao);
	    this.talVoteoptionsdao=talVoteoptionsdao;	
	}
    
	@Transactional(readOnly=true)
	public List<TalVoteoptions> findAllVoteoptions() {
		
		return this.talVoteoptionsdao.findAllVoteoptions();
	}

	public List<TalVoteoptions> findByHql(String paramString) {
		// TODO Auto-generated method stub
		return null;
	}
	

}
